import React, {Component} from 'react';
import { SafeAreaView } from "react-native";

//组件引入
import GamePage from "./src/component/gameSubject/GamePage";
import CatalogueMenu from "./src/component/catalogueMenu";

//屏幕锁定横屏
import Orientation from 'react-native-orientation';

export default class App extends Component {
  componentWillMount() {
    Orientation.lockToLandscape();
  }

  render() {
    return (
      <SafeAreaView>
          <CatalogueMenu display = 'flex'/>
          <GamePage />
      </SafeAreaView>
    );
  }
}
